package com.itheima.controller;

import com.itheima.dto.SetmealDTO;
import com.itheima.pojo.Result;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 套餐管理
 **/
@RestController
@RequestMapping("/setmeal")
public class SetmealController {

    /**
     * 修改套餐
     * @param setmealDTO
     * @return
     */
    @PutMapping
    public Result update(@RequestBody SetmealDTO setmealDTO){
        // 调用业务层实现修改套餐功能

        return Result.success();
    }
}
